Call msgfmt with -c to catch format string errors
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 25 Jul 2005 14:26:57 +0000 (14:26 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 25 Jul 2005 14:26:57 +0000 (14:26 +0000)
po/ChangeLog
po/Makefile.in.in

index 541b8a28ab0b47f2c484c66bc752ae4491605f11..f86c2db5867cbb5550ab87f94adb1c11fbc95c41 100644 (file)
@@ -1,5 +1,8 @@
 2005-07-25 Matthias Clasen <mclasen@redhat.com>
 
+       * Makefile.in.in: Call msgfmt with -c to catch
+       format string errors.
+
        * ar.po: Add a missing Plural-Forms declaration, copied
        from ar.po in nautilus.
 
index ca12eee80b628dc44ee4df4f69f59371b40646df..6ba6fec2efec5bb8eb9107542b6817dbf212e013 100644 (file)
@@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@
 
 .po.gmo:
        file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
-         && rm -f $$file && $(GMSGFMT) -o $$file $<
+         && rm -f $$file && $(GMSGFMT) -c -o $$file $<
 
 .po.cat:
        sed -f ../intl/po2msg.sed < $< > $*.msg \